<?php
/**
 * @Author: Marte
 * @Date:   2017-08-11 14:36:22
 * @Last Modified by:   Marte
 * @Last Modified time: 2017-08-18 19:49:33
 */
$_bookid=$_GET['id'];
$sql2="select secnum,secname from book_section where bookid='$_bookid'";
//查找到对应bookid和章节的记录
$_result4=$_mysql->query($sql2);

?>
<div class="change2">
   <span class="ml_title">本书共1045章</span>
   <ul>
        <?php
            while($_assoc4=$_result4->fetch_assoc())
            {
        ?>
            <li><a href="read_page.php?change=2&bookid=<?php echo $bookid;?>&secnum=<?php echo $_assoc4['secnum'];?>" title="">第<?php chinanum($_assoc4['secnum']);?>章 <?php echo $_assoc4['secname']?></a></li>
           <?php
            }
           ?>

        <div class="clear">

        </div>
   </ul>
   <div class="clear">

        </div>
</div>